package com.example.company.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 存储员工请假信息
 * </p>
 *
 * @author 88Ra
 * @since 2024-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("leaves")

public class Leaves implements Serializable {
	
	
	
	

	private Integer leaveid;
	

	private Integer employeeid;
	private Integer departmentid;
	private String leavetype;

	private String startdate;
	
	private String leavestatus;
	
	

	private String enddate;
	

	private String reason;
	
	public Integer getLeaveid() {
		return leaveid;
	}
	
	public String getLeavestatus() {
		return leavestatus;
	}
	
	public void setLeavestatus(String leavestatus) {
		this.leavestatus = leavestatus;
	}
	
	public void setLeaveid(Integer leaveid) {
		this.leaveid = leaveid;
	}
	
	public Integer getEmployeeid() {
		return employeeid;
	}
	
	public void setEmployeeid(Integer employeeid) {
		this.employeeid = employeeid;
	}
	
	public Integer getDepartmentid() {
		return departmentid;
	}
	
	public void setDepartmentid(Integer departmentid) {
		this.departmentid = departmentid;
	}
	
	public String getLeavetype() {
		return leavetype;
	}
	
	public void setLeavetype(String leavetype) {
		this.leavetype = leavetype;
	}
	
	public String getStartdate() {
		return startdate;
	}
	
	public void setStartdate(String startdate) {
		this.startdate = startdate;
	}
	
	public String getEnddate() {
		return enddate;
	}
	
	public void setEnddate(String enddate) {
		this.enddate = enddate;
	}
	
	public String getReason() {
		return reason;
	}
	
	public void setReason(String reason) {
		this.reason = reason;
	}
}
